package org.dromara.bean.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.bean.domain.HisDoctor;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 医生视图对象 his_doctor
 *
 * @author Lion Li
 * @date 2024-10-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HisDoctor.class)
public class HisDoctorVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 医生名称
     */
    @ExcelProperty(value = "医生名称")
    private String name;

    /**
     * 所属科室
     */
    @ExcelProperty(value = "所属科室")
    private String depId;

    /**
     * 排班计划
     */
    @ExcelProperty(value = "排班计划")
    private String plan;


    private String title;


    private String intro;

    /**
     * 头像
     */
    @ExcelProperty(value = "头像")
    private String photo;

    /**
     * 挂号费
     */
    private BigDecimal price;


    /**
     * 擅长方向
     */
    private String great;


    /**
     * 接诊数
     */
    private int virtuals;

    /**
     * 头像Url
     */
//    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "photo")
    private String photoUrl;
    /**
     * 医生级别
     */
    @ExcelProperty(value = "医生级别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "his_yes_no")
    private String level;

    /**
     * 年限
     */
    @ExcelProperty(value = "年限")
    private String years;


}
